home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Tele / U-V / uupc3.cpt / Documentation / Setup instructions < prev    next >
Text File  |  1992-01-29  |  17KB  |  351 lines

  1. Basic setup and installation instructions
  2.  
  3. Step 0:  familiarize yourself with the territory
  4.  
  5. The installation of uupc requires that you understand a fair bit about
  6. how uucp communications work, about how uucp- and Internet-based electronic
  7. mail works, about the Domain Name System and the uucp maps, and about how
  8. modems work.  Quite simply, this is not a job for someone who is a complete
  9. novice concerning these subjects... it's not a "plug-and-play" task.
  10.  
  11. If you have not done a uucp installation on some other system (Unix, most
  12. likely), or have not used Internet-style electronic mail systems for at
  13. least a few months, I would strongly recommend that you do some additional
  14. reading before starting the installation of uupc.  Two good handbooks...
  15. oriented towards the email user, and the email administrator respectively,
  16. are:
  17.  
  18. TITLE: Using UUCP and USENET
  19. AUTHOR: Todino, Grace
  20. AUTHOR: Dougherty, Dale
  21. SUBJECT: Introduction
  22. PUBLISHER: O'Reilly & Associates, Inc.
  23. DATE: 1990
  24. PAGES: 210
  25. ISBN: 0-937175-10-2
  26. APPROX_COST: 21.95
  27. KEYWORDS: Nutshell Handbook
  28. SUGGESTED_BY: Mitch Wright <mitch@hq.af.mil>
  29. SUPPLIERS
  30.     E-mail: ... uunet!ora!nuts
  31.     Phone#: 1-800-338-NUTS
  32.  
  33. TITLE: Managing UUCP and USENET
  34. AUTHOR: O'Reilly, Tim
  35. AUTHOR: Todino, Grace
  36. SUBJECT: Introduction
  37. PUBLISHER: O'Reilly & Associates, Inc.
  38. DATE: 1990
  39. PAGES: 289
  40. ISBN: 0-937175-48-X
  41. APPROX_COST: 24.95
  42. KEYWORDS: Nutshell Handbook
  43. SUGGESTED_BY: Mitch Wright <mitch@hq.af.mil>
  44. SUPPLIERS
  45.     E-mail: ... uunet!ora!nuts
  46.     Phone#: 1-800-338-NUTS
  47.  
  48. You may find these books at a good computer-oriented bookstore in your
  49. area... if not, you can order them directly from the publisher.  
  50. [Disclaimer:  I haven't read them myself... I learned about uucp the hard
  51. way, before these books were available.  They have a very good reputation
  52. among people on USENET, and I recommend them on that basis.]
  53.  
  54. So... borrow or buy copies, read them, and understand them.  Then, go on
  55. to the next section.  I'll wait.
  56.  
  57. ...
  58.  
  59. Ok.  On to the next topic.
  60.  
  61. Another good source of information is the network or system or electronic
  62. mail administrator at a local well-connected USENET site.  Many of these
  63. peoples hack networking code for the love of it, as well as doing it for
  64. pay.  They are frequently willing to share their knowledge, if approached
  65. properly.  Bribes help... chocolate in exotic forms, and an offer of a good
  66. Szechuan dinner are legitimate tender.
  67.  
  68. Another note concerning system administrators.  A friendly sysadmin may be
  69. willing to provide you with a uucp connection (a "mail feed") without
  70. charge, from a system under her or his administrative control.  The chances
  71. of this occurring vary quite a bit from case to case.  If you can convince
  72. a sysadmin that you are a friendly, responsible individual (or small company)
  73. which understands the ropes, is willing to be a "good network neighbor",
  74. won't cause problems, etc. then you may very well be able to establish a
  75. useful netmail connection at little or no cost.  If you come across as a
  76. demanding, annoying, trouble-making bozo, you'll get the cold shoulder, and
  77. will end up with no alternative but to subscribe to a commercial service for
  78. your netmail connection... this will cost you hard cash.  Support your local
  79. sysadmin... and, once you've earned her trust, do NOT abuse it.  You do
  80. NOT want to develop a bad reputation on The Net... it can stick like glue.
  81.  
  82. Step 1: What you'll need
  83.  
  84. To get hooked up to the outside world via uupc, you'll need a number of
  85. things:  some hardware, some software, some paperware.
  86.  
  87. Hardware:
  88.  
  89. *  A Mac running System 4.2 or later (NOTE:  I haven't tested this
  90. software with anything prior to 6.0.3;  earlier versions of the System should
  91. work, but I can't promise this).
  92.  
  93. *  A modem (preferably one which understands the Hayes command-set.  Speeds of
  94. 2400 bits/second (V.22bis) or faster are recommended, especially if you plan
  95. to send or receive a lot of mail.  High-speed modems (V.32, V.32bis, Telebit
  96. PEP) are supported.  Talk to the administrator of the system(s) with which
  97. you plan to communicate, and find out what sorts of modems they support...
  98. then use that to influence your purchase decision, if any.
  99.  
  100. *  A Mac-to-modem cable.  A standard "Mac Plus/SE/II to Hayes-compatible modem"
  101. cable is appropriate in most cases.  If you wish to use a "hardware handshaking"
  102. cable, make SURE that it connects the Mac's handshake output to DTR as well
  103. as to RTS... if it doesn't, uupc won't be able to hang up the phone properly.
  104.  
  105. Software:
  106.  
  107. *  The uupc 3.0 (or later) software distribution.  This includes the uupc
  108. program itself, the pcmail program, and some auxiliary configuration and
  109. data files.
  110.  
  111. *  ResEdit.  You'll need it to customize the configuration file.  No fancy
  112. ResEdit editors or pickers are required.  Any version of ResEdit which is
  113. new enough, old enough, or tweaked enough to run on your Mac should do the
  114. job.
  115.  
  116. *  A terminal emulator program of some sort (recommended but not essential).
  117. It'll help you in the process of configuring your modem, and figuring out
  118. your chat scripts.
  119.  
  120. *  An alternate mail reading/writing program (optional) (shameless plug).
  121. The "pcmail" program which comes with uupc is a bare-bones shell... it's
  122. functional, but not terribly convenient or pretty.  You may wish to use one
  123. which is better suited to the Mac environment.  Send email to
  124. "dplatt@snulbug.mtview.ca.us" for information about Fernmail, a shareware
  125. mail program which is compatible with uupc.  'Nuff said.
  126.  
  127. Paperware:
  128.  
  129. *  A uucp "node name"... a shorthand name by which your system can be
  130. distingished from every other uucp system in the universe.  Must consist of
  131. lower-case letters, and digits, only.  Its first seven characters must be
  132. unique from any other uucp system name in use... your nodename can be longer
  133. than seven characters, but only the first seven count.  "All the good names
  134. are taken", so you'll have to be inventive, or very bland (there are lots
  135. of combinations of randomly-chosen letters and digits which aren't in use,
  136. but they're _boring_).
  137.  
  138. Please DO NOT simply pick an interesting-sounding name at random, and start
  139. using it without further checking.  If you choose a name which is already
  140. in use elsewhere, and which has been "registered" to the system which got
  141. the name first, all sorts of bad things will happen.  You'll have trouble
  142. getting mail delivered properly, you'll probably receive mail which wasn't
  143. intended for you, you may end up being treated as an "intermediate node" for
  144. torrents of third-party mail that you can't handle properly, and people will
  145. yell at you a lot.  Don't do this, please.  Instead, make sure that the name
  146. you want to use isn't in use.
  147.  
  148. How to check?  Well, the "bible" of uucp node-names is the set of USENET
  149. articles which are posted to the comp.mail.maps newsgroup on an ongoing
  150. basis.  Check with that friendly system adminstrator I mentioned above...
  151. or with any of the commercial uucp hookup services listed in the
  152. "Finding somebody to talk to" document... and
  153. ask them to run a map-search for you.  If the name you want isn't in use,
  154. you (or another sysadmin) can mail off a map-file to your regional map
  155. coordinator, and thus reserve the name for your own use.  Please DO
  156. register your name... if you don't, some innocent party may start using it
  157. in the future, and all of the bad things I mentioned above will happen.
  158.  
  159. *  A site to connect with.  You'll need to establish communications with at
  160. least one existing uucp site... the more well-connected the better.  See the
  161. "Finding somebody to talk do" documentation for some suggestions as to
  162. how you might find such a site.
  163.  
  164. *  The details on how to connect with your uucp neighbor.  You'll need to
  165. know their modem phone number, the communications speed, and the sequence
  166. of steps required to log onto their system.
  167.  
  168.  
  169. Step 2: Setting up the folders
  170.  
  171. uupc uses a set of several folders, in which it stores various files
  172. needed for its operation.  For the sake of convenience, these folders
  173. are usually stored within one central organizing folder, on a single hard
  174. disk.  This isn't a hard requirement;  you may place these folders anywhere
  175. on your hard disk(s) that you wish, as long as you tell uupc where they are.
  176. [Note... you cannot use System 7 Finder aliases with uucp, as it doesn't
  177. know how to resolve them.]
  178.  
  179. You'll need to tell uupc where each of these folders is, by editing a
  180. 'STR ' resource in uupc's settings file.  In each 'STR ' resource,
  181. you'll place the complete pathname of the folder.  For example, the
  182. default configuration file suggests the following layout:
  183.  
  184.      name         typical value              meaning
  185.  
  186.      HOME         My disk:uucp:home:jones    Your personal mail files
  187.      MAILDIR      My disk:uucp:mail          incoming mail
  188.      CONFDIR      My disk:uucp:config        config files
  189.      TEMPDIR      My disk:uucp:tmp           temp files
  190.      SPOOLDIR     My disk:uucp:spool         uucp spool files
  191.      PUBDIR       My disk:uucp:public        anybody-can-read
  192.  
  193. In each of these 'STR ' resources, you'll need to replace the text "My disk"
  194. with the name of the Macintosh disk on which you wish these folders to be
  195. placed.
  196.  
  197. You don't actually have to create each of these folders yourself... if you
  198. set up the UUPC Settings file correctly, uupc will create the folders
  199. the first time it needs to access them.
  200.  
  201. So... decide where you want your uucp folder hierarchy to be placed.  Copy
  202. the "Sample UUPC Settings" file from the uupc distribution, and change its
  203. name to "UUPC Settings".  Edit the resources in the UUPC Settings file
  204. to match the directory hierarchy you've decided upon.
  205.  
  206. Step 3: Setting up the user configuration
  207.  
  208. You'll need to edit some of the other 'STR ' resources in the UUPC Settings
  209. file, to configure uupc with the information it will need to operate.
  210.  
  211.      name             typical value       meaning
  212.  
  213.      MAILBOX          mbox                user's mailbox file
  214.      NAME             Fred Jones          your real name
  215.      USERNAME         jones               your username
  216.      NODENAME         mynode              uucp site name
  217.      DOMAIN           mynode.uucp         domain-style site name
  218.      MAILSERVICE      hisnode             primary uucp neighbor
  219.      SPEED            2400                default port speed
  220.      TIMEDIFF         -0800 (PST)         timezone
  221.      MAILCOPY         mail.sent           copy of outbound mail
  222.      ALIAS            Alias               name of alias file in your
  223.                                           home directory
  224.      SEQUENCEFILE     SEQF                name of sequence file
  225.      SLEEPTIME        5                   number of minutes between
  226.                                           queue runs in automatic mode
  227.      PASSWORD         LemmeIn             password that other uucp sites
  228.                                           should use when calling you
  229.      ROUTEVIA         other,bill          comma-separated list of sites to
  230.                                           which mail can be sent directly
  231.  
  232. Your USERNAME should match the last level of the HOME folder path (e.g.
  233. "jones" matches the last part of "My disk:home:jones").  MAILSERVICE
  234. should be the name of your primary uucp neighbor... the site to which
  235. all outgoing mail should be sent (except for sites on the ROUTEVIA list;
  236. mail for those sites is sent directly to them).
  237.  
  238. Now... either place the UUPC Settings file in the same folder as the uupc
  239. and pcmail applications, or drop it into your System folder.
  240.  
  241. Step 4:  Trial run
  242.  
  243. Double-click on the uupc 3.0 application icon. uupc should start up, open a
  244. window, and report that it's going idle. As soon as it does, select Quit
  245. from the File menu.
  246.  
  247. You should find that uupc has created several of the folders mentioned in
  248. your UUPC Settings file.  In particular, the directory named in your CONFDIR
  249. string should have been created in the correct place.  If it wasn't, or if
  250. any I/O error messages occurred when you ran uupc 3.0, go back and re-check
  251. your UUPC Settings file.
  252.  
  253. Step 5:  Installing your Systems and Schedule files.
  254.  
  255. Copy the sample Systems file into the configuration folder, and change its
  256. name to "Systems".  This is the file which will identify the systems that
  257. your Mac can connect with via uucp, the times at which such connections
  258. are permitted to be made, the modem speed and setup information required,
  259. and the set of prompts and commands that your Mac must exchange with each
  260. neighboring system in order to access that system's uucp software.
  261.  
  262. Edit the Systems file, based on the information you collected way back up
  263. in Step 1.  The format of the Systems file is described in the
  264. "UUPC 3.0 Systems file format" document.  Be sure to comment out any
  265. entries that you don't plan on using (for example, all of the sample
  266. ones!)
  267.  
  268. You may also wish to copy the sample Schedule file into the configuration
  269. folder and change its name to "Schedule".  This file specifies the times
  270. at which your system should place calls to ("poll") other uucp systems
  271. to check for inbound mail.
  272.  
  273. Step 6:  Placing a call
  274.  
  275. Double-click on the uupc 3.0 application icon. uupc should start up, open a
  276. window, and report that it's going idle. Pull down the Call menu, but
  277. don't select anything.  You should see, at the bottom of this menu, a list
  278. of each of the systems you added to the Systems file.
  279.  
  280. Select the name of your primary uucp neighbor from the Call menu.  uupc
  281. will initiate a call.  If everything goes well, uupc will dial the neighbor's
  282. phone number on your modem, connect to your neighbor's modem, log in, go
  283. through uucp startup, exchange a couple of "I have nothing for you, do you
  284. have something for me" messages, and then hang up.
  285.  
  286. Step 7:  Sending mail
  287.  
  288. Double-click on the pcmail icon.  A dialog box will appear, giving
  289. you the chance to select input and output files (don't bother, this
  290. time) and to enter a command line.  The command line will contain the
  291. string "pcmail 3.0".  Click on the end of the command line, and edit it
  292. so that it reads
  293.  
  294.       "pcmail 3.0" MAILSERVICE!NODENAME!USERNAME
  295.  
  296. but instead of typing any of the capitalized words, type in the actual
  297. value from your configuration file.  For example, if you were using the
  298. sample values shown above (NOT a good idea!) you'd type
  299.  
  300.       "pcmail 3.0" hisnode!mynode!jones
  301.  
  302. Click the OK button.  A normal window will appear.  Type in the following
  303. text (removing the indentations on each line so that each line begins
  304. in column 1):
  305.  
  306.        Subject: This message should come back to me
  307.         
  308.        This is a test.  If it works correctly, this message should go
  309.        out to my mail relay site, and be sent right back here.
  310.  
  311. Note that you WILL NOT BE ABLE to edit any line of the message after you
  312. press return!
  313.  
  314. When you've entered the message, type control-D.  pcmail will queue the
  315. message for delivery, and ask you to press Return to exit.  Do so.
  316.  
  317. Double-click on the uupc icon.  From the Call menu, select "Any site with
  318. jobs pending".  uupc should initiate a call to your primary neighbor, and
  319. deliver the outbound mail (two files will be transmitted).
  320.  
  321. Wait a few minutes to let your neighbor process the mail and prepare to
  322. send it back to you. Sometimes 10 seconds is enough, sometimes a half-hour
  323. or more is required.  Initiate a call to your neighbor by selecting its
  324. name from the Call menu.  uupc should place a call, and should receive the
  325. mail (two files will be received).  After disconnecting, uupc should
  326. deliver the mail to your mailbox... you should see an "rmail" command
  327. being executed.
  328.  
  329. Double-click on the pcmail icon again.  When the options dialog appears,
  330. click OK.  pcmail should show you the header line of your mail (as message
  331. number zero).  Type "p" to print the message, then "d" to delete it.
  332. Finally, type "q" to quit, and hit return to exit the program.  Your
  333. uupc system is now up and functioning!
  334.  
  335. Step 8:  Troubleshooting
  336.  
  337. Probably, things won't go this smoothly.  To figure out why things aren't
  338. working, it's usually best to try placing a call in debugging mode, watch the
  339. messages as they scroll by, and try to figure out where things are going awry.
  340.  
  341. To do this, select the "Call system" command from the File menu.  In the
  342. resulting dialog box, type the name of the system you want to call, and
  343. set the debug level to a value between 1 and 9 (2 and 5 are good values to
  344. start with).  Then, watch the window and make a note of how far uupc
  345. gets... or doesn't get... in placing its call.
  346.  
  347. See the "Troubleshooting" document for ideas on how to go about tracing
  348. down the cause of the problem.
  349.  
  350.  
  351.